package top.lisicheng.openfeign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;
import top.lisicheng.model.CommonResult;

@FeignClient(name = "cloudalibaba-nacos-payment-service",fallback = PaymentApiFallback.class)
@Component
public interface PaymentApi {

    @RequestMapping("/payment/get")
    CommonResult get();

}
